#include "chap10.h"
#include <stdio.h>
#include <signal.h>

int main() {
	if (catch_signal(SIGINT, diediedie) == -1) {
		fprintf(stderr, "Can't ma the handler");
		exit(2);
	}
	char name[30];
	printf("Enter your name: ");
	fgets(name, 30, stdin);
	printf("Hello %s\n", name);
	return 0;
}

